# -*- coding: UTF-8 -*-

class Employee:
    '所有员工的基类\
    ddd\
    ddd'
    empCount = 0

    def __init__(self, name, salary):
        self.name = name
        self.salary = salary
        Employee.empCount += 1

    def displayCount(self):
        print "Total Employee %d" % Employee.empCount

    def displayEmployee(self):
        print "Name : ", self.name, ", Salary: ", self.salary


Employee(1,2).displayCount()

e1 = Employee(1,2)
e2 = Employee(1,11)

e1.empCount = 5;

del e2.name

print e1.empCount
print e2.empCount

print e2.salary

print e2.__dict__
print Employee.__doc__
print Employee.__module__
print Employee.__bases__
print Employee.__dict__


class Test:
    def prt(self):
        print(self)
        print(self.__class__)


t = Test()
t.prt()